import axios from 'axios';
import SystemMessage from './SystemMessage';

const API_PREFIX = SystemMessage.globalSetting.serviceUrlPrefix;


export const callGetMessages = payload => {
    return axios.post(`${API_PREFIX}/getMessages`, payload);
};

export const callGenSysMsgReport = payload => {
    return axios.post(`${API_PREFIX}/genSysMsgReport`, payload);
};


